package com.ruizhong.centercontroll.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.ruizhong.centercontroll.entity.TTextView;

import java.util.List;
import java.util.Map;

public interface TTextViewService extends IService<TTextView> {
    void saveNewTextList(List<Map<String, Object>> textList, Integer pageId, boolean isNew);

    void deleteTextViewsByPageId(Integer pageId);

    List<TTextView> getTextViewsByPageId(Integer pageId, Double pageWidth, Double pageHeight, Double aimPageWidth, Double aimPageHeight, Boolean display) throws JsonProcessingException;

    List<TTextView> getTextViewIdsByPageId(Integer pageId);
}
